﻿//
// Created by PC on 2022/12/5.
// 找出数组的最大值
//

#include <iostream>
using namespace std;


int main()
{
    int l[] = {1, 27, 5, 3};
    int m, i = 0;
    m = l[0];
//    for (; i < 4; i++)
//    {
////        if (l[i]>m)
////        {
////            m=l[i];
////        }
////        i++;
//
////        i++;
//    }
    for (int a:l)
    {
        m = a > m ? a : m;
    }
    printf("\n%d",m);
    return 0;
}